def printsum(num1,num2):
    sum=0
    for i in range(num1,num2+1):
        sum+=i
    return sum
s=printsum(1,10)
print(s)

